<script setup lang="ts">
import {ref} from 'vue';
const content = ref('<p>Hello UEditorPlus</p>');
const editorConfig = {
  serverUrl: '/api/test',
  UEDITOR_HOME_URL: '/dist-min/',
  UEDITOR_CORS_URL: '/dist-min/',
}
</script>
<template>
  <div>
    <vue-ueditor-wrap v-model="content"
                      editor-id="editor"
                      :config="editorConfig"
                      :editorDependencies="['ueditor.config.js','ueditor.all.js']"
                      style="height:500px;"/>
  </div>
</template>

<style scoped>

</style>